package cn.youruan.demo.service;


import cn.youruan.demo.common.R;
import cn.youruan.demo.domain.Hobby;
import cn.youruan.demo.domain.Log;
import cn.youruan.demo.dto.HobbyDto;
import cn.youruan.demo.dto.UserDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IHobbyService extends IService<Hobby> {

    void addHobby(Hobby hobby,Long userId);

    void removeHobbyById(Long userId,Long hobbyId);


    //爱好最多的用户排行
    List<HobbyDto> sortHotHobby();

}
